package com.tx.springcloud.consumerfeign.teleservice.impl;

import com.tx.springcloud.consumerfeign.teleservice.HelloRemote;
import org.springframework.stereotype.Component;

/**
 * @author ：tx
 * @description：熔断处理 fallback类
 * @date ：Created in 2019/4/19 16:13
 * @modified By：
 * @version:
 */
@Component
public class HelloFallBack implements HelloRemote {
    @Override
    public String hello(String name) {
        return "hello,failure message!";
    }
}
